<template>
    <div id="app">
        <transition name="transitionRouter" mode="out-in">
            <router-view />
        </transition>
    </div>
</template>

<style>
    #app {
        overflow: auto;
        position: relative;
    }

    .primary-color{
        color: #22AC9F;
    }

    /****路由动画**/
    .transitionRouter-enter-active, .transitionRouter-leave-active {
        transition: all 0.2s;
    }
    .transitionRouter-enter, .transitionRouter-leave {
        opacity: 0;
    }
    /****路由动画**/
</style>
